package com.qy.service.impl;

import com.qy.dao.TollMapper;
import com.qy.model.Toll;
import com.qy.service.TollService;
import com.qy.base.core.AbstractService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


/**
 * Created by zaq on 2018/07/10.
 */
@Service
@Transactional
public class TollServiceImpl extends AbstractService<Toll> implements TollService {
    @Resource
    private TollMapper qyTollMapper;

    @Override
    public Toll selectOnePolicyPrice() {
        return qyTollMapper.selectOnePolicyPrice();
    }

    @Override
    public List<Toll> selectRewardPrice() {
        return qyTollMapper.selectRewardPrice();
    }

    @Override
    public List<Toll> selectMemberPrice() {
        return qyTollMapper.selectMemberPrice();
    }
}
